
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/v2/console/common/taglibs.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String contextPath = request.getContextPath();
%>
<link rel="stylesheet" href="${path}/v2/console/css/base.css">
<link rel="stylesheet" href="${path}/v2/console/css/style.css">
<script src="${path}/v2/console/js/jquery-1.9.1.min.js"></script>
<script src="${path}/v2/console/js/globle.js"></script>
<script src="${path}/v2/console/My97DatePicker/WdatePicker.js"></script>
<div class="column-name">
	<h2>
		轮播图管理 > <b>轮播图列表</b>
	</h2>
</div>
<form id="form1" name="form1"
	action="${path}/siteCarousel/siteCarouselList.html" method="post">

	<div class="main-top">
		<div class="fl">
			<a href="${path}/siteCarousel/toAddSiteCarousel.html"
				class="btn btn-p">新建轮播图</a>
		</div>
	</div>
	<div class="content">
		<table class="table" width="100%" border="0" cellspacing="0"
			cellpadding="0">
			<thead>
				<tr>
					<th>图片地址</th>
					<th>轮播图类型</th>
					<th>外链地址</th>
					<th>描述</th>
					<th>序号</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${po.datasource}" var="data">
					<tr>
						<td><img src="${data.url}"
							style="height: 80px; weight: 80px;"></td>
						<td>${data.type}</td>
						<td>${data.link}</td>
						<td>${data.description}</td>
						<td>${data.sort}</td>
						<td>
							<!-- 是否删除判断 --> <a href="javascript:;"
							data-id="${path}/siteCarousel/delSiteCarousel.html?id=${data.id}"
							class="remove">删除</a> <!-- 修改--> <a class=""
							href="${path}/siteCarousel/toUpdateSiteCarousel.html?id=${data.id}">修改</a>
							<!-- 详情--> <a class=""
							href="${path}/siteCarousel/detailSiteCarousel.html?id=${data.id}">查看详情</a>

						</td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
		<div id="page">
			<%@ include file="/v2/console/common/paging.jsp"%>
		</div>
	</div>
</form>

<!-- remove-pop -->
<div class="popBox remove-pop">
	<div class="popBox-back"></div>
	<div class="popBox-box">
		<div class="popBox-con">
			<div class="remove-con">
				<div class="tit">你确定要删除吗？</div>
				<div class="btns">
					<a href="" class="btn w144">确定</a> <a href="javascript:;"
						class="btn-gray w144">取 消</a>
				</div>
			</div>
		</div>